package com.zhang.order.service;

import com.zhang.common.util.result.R;
import com.zhang.order.entity.Order;

import javax.servlet.http.HttpServletRequest;

public interface IPayService {


    /**
     * 调用第三方支付接口
     *
     * @param orderId 订单id
     * @param
     * @return {@link String} 支付页面
     */
    R pay(String orderId);

    R payNotify(HttpServletRequest request);

    R queryOrderPayResult(String orderId);
}
